<?php session_start();
	//store logged in user for session
	$_SESSION['user'] = $_POST['userid'];
	?>

<html>
<body>
<?php
	echo "Logged in as: ".$_SESSION['user'];
	?>

	<h2> Class Grades </h2>
	<a href="./class.php?classid=1"> 7A Science </a>

	<h2> Student Info </h2>
	<a href="./student.php?studentid=1"> John Doe </a>
<br />	<a href="./student.php?studentid=2"> Jane Doe </a>
</body>
</html>